package com.fxp.project.jiuselu.web.models.user.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.fxp.project.jiuselu.web.models.user.entity.JslUserExtend;
import com.fxp.project.jiuselu.web.models.user.mapper.JslUserExtendMapper;
import com.fxp.project.jiuselu.web.models.user.service.IJslUserExtendService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 用户发票信息 服务实现类
 * </p>
 *
 * @author Jason.Wang
 * @since 2021-11-22
 */
@Service
public class JslUserExtendServiceImpl extends ServiceImpl<JslUserExtendMapper, JslUserExtend> implements IJslUserExtendService {

    @Autowired
    JslUserExtendMapper jslUserExtendMapper;
    /**
     * selectJslUserExtendByUserId: 通过当前用户的Id获取发票设置信息<br/>
     *
     * @param userId
     * @return
     * @author Kai.Wang
     * @date 2021/11/22 11:33
     */
    @Override
    public List<JslUserExtend> selectJslUserExtendByUserId(Long userId) {
        return jslUserExtendMapper.selectJslUserExtendByUserId(userId);
    }
}
